//保存活编辑成功提示框
$(function() {
    $("#editForm").ajaxForm(function(data){
        if(data.success){
            confirmDialog("操作成功",function(){
                window.location.href="/product/list";
            },false,"succeed");
        }else{
            confirmDialog(data.errorMsg,true,false,"warning");
        }
    });
});
